<template>
	<view class="meetingpay">
		<view class="meetingprompt">{{data.prompt}}</view>
		<view class="addname">
			<view class="addshow">账户名称</view>
			<view class="addtitle">{{data.accountName}}</view>
		</view>
		<view class="addname">
			<view class="addshow">汇款账号</view>
			<view class="addtitle">{{data.remittanceAccount}}</view>
		</view>
		<view class="addname">
			<view class="addshow">开户行</view>
			<view class="addtitle">{{data.bankAccount}}</view>
		</view>
		<view class="addname">
			<view class="addshow">联系人</view>
			<view class="addtitle">{{data.contacts}}</view>
		</view>
		<view class="addname">
			<view class="addshow">电话号码</view>
			<view class="addtitle">{{data.officePhone}}</view>
		</view>
		<view class="addname">
			<view class="addshow">手机号</view>
			<view class="addtitle">{{data.phone}}</view>
		</view>
	</view>
</template>

<script>
	import {common} from '@/common/publish.js';
	export default {
		data() {
			return {
				data:{}
			};
		},
		onLoad(event) {
			console.log(event.meetingid)
			this.getitem(event.meetingid)
		},
		methods: {
			getitem(val){
				var that = this;
				uni.request({
					url: common.localurl+'/api/meeting/detail.json' , 
					data: {
						meetingId: val
					},
					success: (res) => {
						this.data = res.data
					}
				});
			}
		},
	}
</script>

<style lang="scss">
	@import "@/common/publish.scss";
	page {
		background-color: $bgcolor;
	}
	.meetingpay{
		padding:20upx 24upx;
	}
	.meetingprompt{
		font-size:30upx;
		color:$titlecolor;
		line-height:50upx;
		text-indent: 2em;
		margin-bottom:10upx;
	}
	.addname{
		margin-top:20upx;
	}
	.addshow{
		font-size:30upx;
		color:$timecolor;
		line-height:60upx;
	}
	.addtitle{
		font-size:30upx;
		color:$titlecolor;
		line-height:60upx;
		padding:16upx 0;
		border-bottom:1px solid #ccc;
	}
</style>
